package com.yunchang.springboot.models.DO.finance;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunchang.springboot.base.Column;
import com.yunchang.springboot.base.Id;
import com.yunchang.springboot.base.Table;
import java.io.Serializable;
import lombok.Data;

/**
 * finance_caravan_document_type
 * @author 1
 * @date 2020-04-24 15:21:47
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Table("finance_caravan_document_type")
public class FinanceCaravanDocumentType implements Serializable {
    /**
     */
    @Id("id")
    private Integer id;

    /**
     * 具体单据类型的名称
     */
    @Column("document_name")
    private String documentName;

    /**
     * 账单类型 1采购单 2：收款单 3：付款单 4：费用单 5：出入库流水
     */
    @Column("record_type")
    private Integer recordType;

    /**
     * 涉及的字段名
     */
    @Column("related_column")
    private String relatedColumn;

    /**
     * 对应的具体单据种类
     */
    @Column("document_type")
    private Integer documentType;

    private static final long serialVersionUID = 1L;
}